package com.turing.post.account.util;

import java.math.BigInteger;
import java.util.Date;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.organization.util.IssueCompany;
import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

@Remote
@Local
public interface OnlineTransferDetailBusiness {

	/**
	 * 联机转账充值
	 * 
	 * @param webInput
	 * @param otd
	 * @throws PCPSApplicationException
	 */
	public void onlineTransferDeposit(PCPSWebInput webInput, String cardNo,
			BigInteger amount, BigInteger bankManageId, String remark)
			throws PCPSApplicationException;
	
	/**
	 * 插入联机转账明细
	 * @param webInput
	 * @param issueCompany
	 * @param cardNo
	 * @param amount
	 * @param bankManageId
	 * @param masterAccNo
	 * @param tranTime
	 * @param remark
	 * @return
	 * @throws PCPSApplicationException
	 */
	public String insertOnlineTransferDetail(PCPSWebInput webInput,
			IssueCompany issueCompany, String cardNo, BigInteger amount,
			BigInteger bankManageId, BigInteger masterAccNo, Date tranTime,
			String remark) throws PCPSApplicationException;
}
